package com.yuanfeng.business.controller;


import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @ClassName ShopAvgEvaluationController
 * @Description 店铺评分发货速度平均表
 * @Author cyp
 * @Date 2023-05-26 11:18:16
 * @Version 1.0
 **/
@RestController
@RequestMapping("shop/avgEvaluation")
public class ShopAvgEvaluationController extends BaseController {
    /**
     * 店铺评分
     * @param map
     * @return
     */
    @PostMapping("shopScore")
    public ResponseResult shopScore(@RequestBody Map<Object, Object> map){
        return shopAvgEvaluationService.shopScore(map);
    }

}
